package cc.liyinghao.springsecuritydemo.mapper;


import cc.liyinghao.springsecuritydemo.pojo.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.Set;

@Mapper
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    /**
     * 获取角色权限标识
     */
    Set<String> getListPermissionKeyByRoleId(int roleId);
}
